package request1_i2p;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName Merchant
 * @Description 外卖商家
 * @Author MaQingpin
 * @Date 2020/11/4 10:48
 * @Version 1.0
 */
public class Merchant {
    private int id;
    private String name;
    private int[] location=new int[2];
    private List<Product> products=new ArrayList<>();
    public Merchant(int id, String name, int[] location) {
        this.id = id;
        this.name = name;
        this.location = location;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Product> getProducts() {
        return products;
    }

    public void setProducts(List<Product> products) {
        this.products = products;
    }

    public int[] getLocation() {
        return location;
    }

    public void setLocation(int[] location) {
        this.location = location;
    }
}
